<%@page import="bean.ScoreVo"%>
<%@page import="bean.ScoreDTO"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel='stylesheet' href='./css/score.css'/>
<script src='./js/score.js'></script>
</head>
<body>
<jsp:useBean id="sv" class="bean.ScoreVo" scope="page"></jsp:useBean>
<jsp:setProperty property="*" name="sv"/>
<%
ScoreDTO dto = new ScoreDTO();
dto.setSv(sv);
ScoreVo v = dto.selectOne();
%>
<div id='score_view_title'>
	<div class='score_view_rno'>No</div>
	<div class='score_view_grade'>학년</div>
	<div class='score_view_point'>점수</div>
	<div class='score_view_scode'>학교</div>
	<div class='score_view_mid'>아이디</div>
	<div class='score_view_examdate'>시험일</div>
	<div class='score_view_exam'>과목</div>
	<div class='score_view_rank'>등수</div>
</div>
<div class='score_view_items'>
	<div class='score_view_rno'><%=v.getRno() %></div>
	<div class='score_view_grade'><%=v.getGrade() %></div>
	<div class='score_view_point'><%=v.getPoint() %></div>
	<div class='score_view_scode'><%=v.getScode() %></div>
	<div class='score_view_mid'><%=v.getMid() %></div>
	<div class='score_view_examdate'><%=v.getExamdate() %></div>
	<div class='score_view_exam'><%=v.getExam() %></div>
	<div class='score_view_rank'><%=v.getRank() %></div>
</div>
<br/>
<input type='button' value='회원추가' id='btninput'/>
<input type='button' value='수정' id='btnmodify'/>
<input type='button' value='삭제' id='btndelete'/>
<input type='button' value='목록으로' id='btnlist'/>

<form name='hiddenfrm' method='post'>
	<input type='hidden' name='rno' value='<%=sv.getRno() %>'/>
	<input type='hidden' name='nowpage' value='<%=sv.getNowpage() %>'>
	<input type='hidden' name='find' value='<%=sv.getFind() %>'>
</form>
<script>viewInit();</script>
</body>
</html>